import React from 'react'
import { Link } from 'react-router-dom'

export default class Main extends React.Component{
  render() {
    return (
      <div>
        <div>
          <Link to="/main/book/test-id">booklist</Link>
          <br/>
          <Link to="/main/food">foodlist</Link>
        </div>
        <hr/>
        {this.props.children}
      </div>
    )
  }
}